package com.kgis.fm.flex.model.term
{
	import com.kgis.fm.flex.model.LifecycleModel;

	/**
	 * 
	 * @author Simon He
	 * 
	 */
	[Bindable]
	[RemoteClass(alias="com.kgis.fm.platform.model.term.LegendEntryDefinition")]
	public class LegendEntryDefinition extends LifecycleModel
	{
		public function LegendEntryDefinition()
		{
		}
		private var _id:int;
		private var _lno:int;
		private var _leno:int;
		
		private var _displayMode:Boolean;
		private var _displayLevelMin:int;
		private var _displayLevelMax:int;
		private var _ordinal:int;
		private var _scalable:Boolean;
		/**
		 * 是否可选择0/1
		 */
		private var _selectable:Boolean;
		
		
		public function get id():int
		{
			return _id;
		}

		public function set id(value:int):void
		{
			_id = value;
		}

		/**
		 * 图例编号
		 */
		public function get lno():int
		{
			return _lno;
		}

		/**
		 * @private
		 */
		public function set lno(value:int):void
		{
			_lno = value;
		}

		/**
		 * 图例项编号
		 */
		public function get leno():int
		{
			return _leno;
		}

		/**
		 * @private
		 */
		public function set leno(value:int):void
		{
			_leno = value;
		}

		/**
		 * 初始缺省是否显示0/1
		 */
		public function get displayMode():Boolean
		{
			return _displayMode;
		}

		/**
		 * @private
		 */
		public function set displayMode(value:Boolean):void
		{
			_displayMode = value;
		}

		/**
		 * 最小显示比例
		 */
		public function get displayLevelMin():int
		{
			return _displayLevelMin;
		}

		/**
		 * @private
		 */
		public function set displayLevelMin(value:int):void
		{
			_displayLevelMin = value;
		}

		/**
		 * 最大显示比例
		 */
		public function get displayLevelMax():int
		{
			return _displayLevelMax;
		}

		/**
		 * @private
		 */
		public function set displayLevelMax(value:int):void
		{
			_displayLevelMax = value;
		}

		/**
		 * 顺序
		 */
		public function get ordinal():int
		{
			return _ordinal;
		}

		/**
		 * @private
		 */
		public function set ordinal(value:int):void
		{
			_ordinal = value;
		}

		/**
		 * 是否按比例显示0/1
		 */
		public function get scalable():Boolean
		{
			return _scalable;
		}

		/**
		 * @private
		 */
		public function set scalable(value:Boolean):void
		{
			_scalable = value;
		}
	
		public function get selectable():Boolean
		{
			return _selectable;
		}

		public function set selectable(value:Boolean):void
		{
			_selectable = value;
		}

	}
}